using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using Microsoft.Web.Services2;
using Microsoft.Web.Services2.Addressing;
using Microsoft.Web.Services2.Messaging;
using Microsoft.Web.Services2.Security;
using System.Xml;
using Microsoft.Web.Services2.Security.Tokens;


namespace DummyClient
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {


            EndpointReference epr = new EndpointReference(new Uri("http://localhost:450/SLAdapter.ashx"));

            client cs = new client(epr);
            SoapEnvelope env= new SoapEnvelope();
            //Security sec = new Security();
            //sec.Timestamp. = DateTime.Now;
            //sec.Timestamp.Expires = DateTime.Now.AddMinutes(5);

            Nonce non = new Nonce(4);

//            env.InnerXml = "<soap:Envelope xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/03/addressing\" xmlns:wsse=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd\" xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Header><wsa:Action>ReceivePayload</wsa:Action>" +
//                "<wsa:FaultTo><wsa:Address>http://sdcbcv01ukth.data.sdp.ibs-infra.bt.com:82/MasterController/SbeMasterController.ashx</wsa:Address><wsa:ReferenceProperties><RequestUUID>23F3182E-9E18-47AF-B5A8-8243E918232D</RequestUUID></wsa:ReferenceProperties></wsa:FaultTo><wsa:From><wsa:Address>http://sdcbcv01ukth.data.sdp.ibs-infra.bt.com:82/MasterController/SbeMasterController.ashx</wsa:Address><wsa:ReferenceProperties><RequestUUID>23F3182E-9E18-47AF-B5A8-8243E918232D</RequestUUID></wsa:ReferenceProperties></wsa:From><wsa:MessageID>uuid:614cf385-0e99-4dcf-9a74-22e411712a46</wsa:MessageID><wsa:RelatesTo>uuid:840fbf58-378b-4483-b49f-59c7a4db84b1</wsa:RelatesTo><wsa:ReplyTo><wsa:Address>http://sdcbcv01ukth.data.sdp.ibs-infra.bt.com:82/MasterController/SbeMasterController.ashx</wsa:Address><wsa:ReferenceProperties><RequestUUID>23F3182E-9E18-47AF-B5A8-8243E918232D</RequestUUID></wsa:ReferenceProperties></wsa:ReplyTo><wsa:To>http://localhost:450/SLAdapter.ashx</wsa:To><csfse:SessionID xmlns:csfse=\"http://www.microsoft.com/csf/20/Session/\">urn:196adba2-14a3-49f2-b10d-fece2b5c77c4</csfse:SessionID>    <wsse:Security soap:mustUnderstand=\"1\"><wsu:Timestamp wsu:Id=\"Timestamp-71f7a560-89b9-4323-bfe3-cc30d6b044dd\"><wsu:Created>" + DateTime.Now.ToString() + "</wsu:Created><wsu:Expires>" + DateTime.Now.AddMinutes(5).ToString() + "</wsu:Expires></wsu:Timestamp><wsse:UsernameToken xmlns:wsu=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd\" wsu:Id=\"SecurityToken-8cf9e52a-e002-48ee-87c5-ef6050a50a94\"><wsse:Username>admin@bt.com</wsse:Username><wsse:Password Type=\"http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText\">Fon3H0me</wsse:Password><wsse:Nonce>QEncRnDWFq+wMPwe6WvMGQ==</wsse:Nonce><wsu:Created>" + DateTime.Now.ToString() + "</wsu:Created></wsse:UsernameToken></wsse:Security></soap:Header><soap:Body><ServiceLogicPayload xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://Microsoft.Csf.Sbe.OrderHandling.ServiceLogic.Schema.ServiceLogicPayload\"><CSFData xmlns=\"\"><ProductOfferingID>0012B365-559F-48AB-8F8F-17B2565EB7E6</ProductOfferingID><CreateUser>false</CreateUser><Action>Provision</Action></CSFData><CSFProfile xmlns=\"\"><UserAttributes /></CSFProfile><VASDataCollection xmlns=\"\"><VASData><VASID>CSF_IdM_OrganizationManager</VASID><VASServiceUUID /><VASAction /><Target /><Identifier /><VasRequest><EndState /><Parameters><OrganizationManagerCreate xmlns=\"http://www.microsoft.com/csf/20/IdentityManager\"><Organization><OrganizationId>600000771</OrganizationId><PropertyTable><Properties /></PropertyTable></Organization><ParentOrganizationId>btconnect.com</ParentOrganizationId><OrganizationType>Customer</OrganizationType><UPNSuffixes><string />" +
//                "</UPNSuffixes></OrganizationManagerCreate><OrganizationManagerDelete xmlns=\"http://www.microsoft.com/csf/20/IdentityManager\"><OrganizationId>600000771</OrganizationId></OrganizationManagerDelete></Parameters></VasRequest><VasResponse><Parameters /></VasResponse></VASData><VASData><VASID>CSF_PM_RoleManager</VASID><VASServiceUUID /><VASAction /><Target /><Identifier /><VasRequest><EndState /><Parameters><RolesAddRequest xmlns=\"http://www.microsoft.com/csf/20/ProfileManager\"><RoleNames /><OrganizationId>600000771</OrganizationId></RolesAddRequest></Parameters></VasRequest><VasResponse><Parameters /></VasResponse></VASData><VASData><VASID>CSF_IdM_UserManager</VASID><VASServiceUUID /><VASAction />" +
//                "<Target /><Identifier /><VasRequest><EndState /><Parameters><UserManagerCreate xmlns=\"http://www.microsoft.com/csf/20/IdentityManager\"><UserAccount><UserId>sup600000771@btconnect.com</UserId><PropertyTable><Properties><PropertyElement><Name>sn</Name><Value>xxxbeckl</Value><OperationType>OverWrite</OperationType></PropertyElement><PropertyElement><Name>displayName</Name><Value>xxxbeckf xxxbeckl</Value><OperationType>OverWrite</OperationType></PropertyElement><PropertyElement><Name>givenName</Name><Value>xxxbeckf</Value><OperationType>OverWrite</OperationType></PropertyElement></Properties>" +
//                "</PropertyTable></UserAccount><OrganizationId>600000771</OrganizationId><Password>Fon3H0me</Password><Groups /></UserManagerCreate><UserManagerDelete xmlns=\"http://www.microsoft.com/csf/20/IdentityManager\"><UserId>sup600000771@btconnect.com</UserId></UserManagerDelete></Parameters></VasRequest><VasResponse><Parameters /></VasResponse></VASData><VASData><VASID>CSF_PM_UserRoleManager</VASID><VASServiceUUID /><VASAction /><Target /><Identifier /><VasRequest><EndState /><Parameters><UserToRolesAddRequest xmlns=\"http://www.microsoft.com/csf/20/ProfileManager\"><UserId>sup600000771@btconnect.com</UserId><RoleIds><string>Admins@600000771</string><string>PrimaryUsers@600000771</string><string>PrimaryUsers@btconnect.com</string></RoleIds></UserToRolesAddRequest></Parameters></VasRequest><VasResponse><Parameters /></VasResponse></VASData><VASData><VASID>HOSTED_EXCHANGE_SERVICE</VASID><VASServiceUUID>4cf3a395-3fca-42f9-945a-06625b4dc7e5</VASServiceUUID><VASAction /><Target /><Identifier /><VasRequest><EndState /><Parameters><organizationId xmlns=\"http://www.microsoft.com/csf/20/Sbe\">600000771</organizationId><userId xmlns=\"http://www.microsoft.com/csf/20/Sbe\">sup600000771@btconnect.com</userId><password xmlns=\"http://www.microsoft.com/csf/20/Sbe\">Fon3H0me</password><userType xmlns=\"http://www.microsoft.com/csf/20/Sbe\">P</userType><licenseType xmlns=\"http://www.microsoft.com/csf/20/Sbe\">Business Email Lite</licenseType><givenName xmlns=\"http://www.microsoft.com/csf/20/Sbe\">xxxbeckf</givenName><lastName xmlns=\"http://www.microsoft.com/csf/20/Sbe\">xxxbeckl</lastName><quantity xmlns=\"http://www.microsoft.com/csf/20/Sbe\">40</quantity><town xmlns=\"http://www.microsoft.com/csf/20/Sbe\">LONDON</town><postCode xmlns=\"http://www.microsoft.com/csf/20/Sbe\">XXXX XXX</postCode><telephone xmlns=\"http://www.microsoft.com/csf/20/Sbe\">01473649000</telephone><title xmlns=\"http://www.microsoft.com/csf/20/Sbe\">Mr</title><storage xmlns=\"http://www.microsoft.com/csf/20/Sbe\">50</storage><externalOrderReference xmlns=\"http://www.microsoft.com/csf/20/Sbe\">OI-SUP600000771-13</externalOrderReference><companyName xmlns=\"http://www.microsoft.com/csf/20/Sbe\">SUP-600000771</companyName><postalAddress1 xmlns=\"http://www.microsoft.com/csf/20/Sbe\">22 REEVES STREET</postalAddress1><postalAddress2 xmlns=\"http://www.microsoft.com/csf/20/Sbe\"></postalAddress2></Parameters>" +
//"</VasRequest><VasResponse><Parameters /> </VasResponse></VASData></VASDataCollection></ServiceLogicPayload></soap:Body></soap:Envelope>";
//           // cs.SendOneWay("ReceivePayload", env);

            env = InsertSoapHeader("urn:196adba2-14a3-49f2-b10d-fece2b5c77c4", "23F3182E-9E18-47AF-B5A8-8243E918232D", "23F3182E-9E18-47AF-B5A8-8243E918232D", new Uri("http://localhost:450/SLAdapter.ashx"));

            string str = "<ServiceLogicPayload xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://Microsoft.Csf.Sbe.OrderHandling.ServiceLogic.Schema.ServiceLogicPayload\"><CSFData xmlns=\"\"><ProductOfferingID>0012B365-559F-48AB-8F8F-17B2565EB7E6</ProductOfferingID><CreateUser>false</CreateUser><Action>Provision</Action></CSFData><CSFProfile xmlns=\"\"><UserAttributes /></CSFProfile><VASDataCollection xmlns=\"\"><VASData><VASID>CSF_IdM_OrganizationManager</VASID><VASServiceUUID /><VASAction /><Target /><Identifier /><VasRequest><EndState /><Parameters><OrganizationManagerCreate xmlns=\"http://www.microsoft.com/csf/20/IdentityManager\"><Organization><OrganizationId>600000771</OrganizationId><PropertyTable><Properties /></PropertyTable></Organization><ParentOrganizationId>btconnect.com</ParentOrganizationId><OrganizationType>Customer</OrganizationType><UPNSuffixes><string /></UPNSuffixes></OrganizationManagerCreate><OrganizationManagerDelete xmlns=\"http://www.microsoft.com/csf/20/IdentityManager\"><OrganizationId>600000771</OrganizationId></OrganizationManagerDelete></Parameters></VasRequest><VasResponse><Parameters /></VasResponse></VASData><VASData><VASID>CSF_PM_RoleManager</VASID><VASServiceUUID /><VASAction /><Target /><Identifier /><VasRequest><EndState /><Parameters><RolesAddRequest xmlns=\"http://www.microsoft.com/csf/20/ProfileManager\"><RoleNames /><OrganizationId>600000771</OrganizationId></RolesAddRequest></Parameters></VasRequest><VasResponse><Parameters /></VasResponse></VASData><VASData><VASID>CSF_IdM_UserManager</VASID><VASServiceUUID /><VASAction /><Target /><Identifier /><VasRequest><EndState /><Parameters><UserManagerCreate xmlns=\"http://www.microsoft.com/csf/20/IdentityManager\"><UserAccount><UserId>sup600000771@btconnect.com</UserId><PropertyTable><Properties><PropertyElement><Name>sn</Name><Value>xxxbeckl</Value><OperationType>OverWrite</OperationType></PropertyElement><PropertyElement><Name>displayName</Name><Value>xxxbeckf xxxbeckl</Value><OperationType>OverWrite</OperationType></PropertyElement><PropertyElement><Name>givenName</Name><Value>xxxbeckf</Value><OperationType>OverWrite</OperationType></PropertyElement></Properties></PropertyTable></UserAccount><OrganizationId>600000771</OrganizationId><Password>Fon3H0me</Password><Groups /></UserManagerCreate><UserManagerDelete xmlns=\"http://www.microsoft.com/csf/20/IdentityManager\"><UserId>sup600000771@btconnect.com</UserId></UserManagerDelete></Parameters></VasRequest><VasResponse><Parameters /></VasResponse></VASData><VASData><VASID>CSF_PM_UserRoleManager</VASID><VASServiceUUID /><VASAction /><Target /><Identifier /><VasRequest><EndState /><Parameters><UserToRolesAddRequest xmlns=\"http://www.microsoft.com/csf/20/ProfileManager\"><UserId>sup600000771@btconnect.com</UserId><RoleIds><string>Admins@600000771</string><string>PrimaryUsers@600000771</string><string>PrimaryUsers@btconnect.com</string></RoleIds></UserToRolesAddRequest></Parameters></VasRequest><VasResponse><Parameters /></VasResponse></VASData><VASData><VASID>HOSTED_EXCHANGE_SERVICE</VASID><VASServiceUUID>4cf3a395-3fca-42f9-945a-06625b4dc7e5</VASServiceUUID><VASAction /><Target /><Identifier /><VasRequest><EndState /><Parameters><organizationId xmlns=\"http://www.microsoft.com/csf/20/Sbe\">600000771</organizationId><userId xmlns=\"http://www.microsoft.com/csf/20/Sbe\">sup600000771@btconnect.com</userId><password xmlns=\"http://www.microsoft.com/csf/20/Sbe\">Fon3H0me</password><userType xmlns=\"http://www.microsoft.com/csf/20/Sbe\">P</userType><licenseType xmlns=\"http://www.microsoft.com/csf/20/Sbe\">Business Email Lite</licenseType><givenName xmlns=\"http://www.microsoft.com/csf/20/Sbe\">xxxbeckf</givenName><lastName xmlns=\"http://www.microsoft.com/csf/20/Sbe\">xxxbeckl</lastName><quantity xmlns=\"http://www.microsoft.com/csf/20/Sbe\">40</quantity><town xmlns=\"http://www.microsoft.com/csf/20/Sbe\">LONDON</town><postCode xmlns=\"http://www.microsoft.com/csf/20/Sbe\">XXXX XXX</postCode><telephone xmlns=\"http://www.microsoft.com/csf/20/Sbe\">01473649000</telephone><title xmlns=\"http://www.microsoft.com/csf/20/Sbe\">Mr</title><storage xmlns=\"http://www.microsoft.com/csf/20/Sbe\">50</storage><externalOrderReference xmlns=\"http://www.microsoft.com/csf/20/Sbe\">OI-SUP600000771-13</externalOrderReference><companyName xmlns=\"http://www.microsoft.com/csf/20/Sbe\">SUP-600000771</companyName><postalAddress1 xmlns=\"http://www.microsoft.com/csf/20/Sbe\">22 REEVES STREET</postalAddress1><postalAddress2 xmlns=\"http://www.microsoft.com/csf/20/Sbe\"></postalAddress2></Parameters></VasRequest><VasResponse><Parameters /> </VasResponse></VASData></VASDataCollection></ServiceLogicPayload>";

            env.Body.InnerXml = str;

            cs.WSESendOneWay("http://www.microsoft.com/csf/20/ServiceLogic/Microsoft_Csf_Sbe_OrderHandling_ServiceLogic_Orchestration_GenericOrchestration_ServiceLogic/ReceivePayload", env);

        }
        #region InsertSoapHeader
        /// <summary>
        /// 
        /// </summary>
        /// <param name="SessionId"></param>
        /// <param name="RequestUUID"></param>
        /// <param name="corelationId"></param>
        /// <param name="toUri"></param>
        /// <returns></returns>
        private SoapEnvelope InsertSoapHeader(string SessionId, string RequestUUID, string corelationId, Uri toUri)
        {
            SoapEnvelope envelope = null;
            XmlDocument xmlResponse = null;
            MessageID mesId = null;
            XmlDocument xdocu = null;
            XmlElement xele = null;
            From objFrom = null;
            ReplyTo objReplyTo = null;
            ReferenceProperties refProp = null;
            XmlDocument xDocRefProp = null;
            try
            {
                string primaryUserId = "Administrator", primaryUserPassword = "Fon3H0me1";
                envelope = new SoapEnvelope();
                xmlResponse = new XmlDocument();

                XmlElement soapHeader = envelope.CreateHeader();

                XmlDocument soapDoc = soapHeader.OwnerDocument;
                XmlElement customHeader = soapDoc.CreateElement("csfse", "SessionID", "http://www.microsoft.com/csf/20/Session/");
                customHeader.InnerXml = SessionId;
                soapHeader.AppendChild(customHeader);
                customHeader = soapDoc.CreateElement("RequestUUID");
                customHeader.InnerXml = RequestUUID;
                soapHeader.AppendChild(customHeader);

                mesId = new MessageID(new Uri("uuid:" + System.Guid.NewGuid().ToString()));
                xdocu = new XmlDocument();
                xele = mesId.GetXml(xdocu);

                xDocRefProp = new XmlDocument();
                xDocRefProp.LoadXml("<wsa:ReferenceProperties  xmlns:wsa=\"http://schemas.xmlsoap.org/ws/2004/03/addressing\"><WESRequestUUID>" + corelationId + "</WESRequestUUID><csfse:CsfContext xmlns:csfse=\"http://www.microsoft.com/csf/20/Session/\" /></wsa:ReferenceProperties>");
                refProp = new ReferenceProperties(xDocRefProp.DocumentElement);
                objReplyTo = new ReplyTo(toUri);
                objReplyTo.ReferenceProperties = refProp;


                objFrom = new From(new Uri("http://132.146.191.51:81/Session/Session.ashx"));
                envelope.Context.Addressing.From = objFrom;
                envelope.Context.Addressing.ReplyTo = objReplyTo;
                envelope.Context.Addressing.MessageID.LoadXml(xele);

                envelope.Context.Security.Tokens.Add(new UsernameToken(primaryUserId, primaryUserPassword, PasswordOption.SendPlainText));

                return envelope;
            }
            catch (Exception insertSoapHeaderException)
            {
                throw insertSoapHeaderException;

            }
            finally
            {
                envelope = null;
                xmlResponse = null;
                mesId = null;
                xdocu = null;
                xele = null;
            }
        }
        #endregion

        private void button2_Click(object sender, EventArgs e)
        {


            EndpointReference epr = new EndpointReference(new Uri("http://localhost:450/SLAdapter.ashx"));

            client cs = new client(epr);
            SoapEnvelope env = new SoapEnvelope();
            //Security sec = new Security();
            //sec.Timestamp. = DateTime.Now;
            //sec.Timestamp.Expires = DateTime.Now.AddMinutes(5);

            Nonce non = new Nonce(4);
            env = InsertSoapHeader("urn:196adba2-14a3-49f2-b10d-fece2b5c77c4", "23F3182E-9E18-47AF-B5A8-8243E918232D", "23F3182E-9E18-47AF-B5A8-8243E918232D", new Uri("http://localhost:450/SLAdapter.ashx"));
            string str = "<IsUserInRoleResponse xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.microsoft.com/csf/20/ProfileManager\"><UserInRoleResult>true</UserInRoleResult><ResultCode>0</ResultCode><ErrorMessage xsi:nil=\"true\" /></IsUserInRoleResponse>";
            env.Body.InnerXml = str;
            cs.WSESendOneWay("http://www.microsoft.com/csf/20/ServiceLogic/Microsoft_Csf_Sbe_OrderHandling_ServiceLogic_Orchestration_GenericOrchestration_ServiceLogic/ReceiveVasResponse", env);

        }

        private void button3_Click(object sender, EventArgs e)
        {
            EndpointReference epr = new EndpointReference(new Uri("http://localhost:450/SLAdapter.ashx"));

            client cs = new client(epr);
            SoapEnvelope env = new SoapEnvelope();
            //Security sec = new Security();
            //sec.Timestamp. = DateTime.Now;
            //sec.Timestamp.Expires = DateTime.Now.AddMinutes(5);

            Nonce non = new Nonce(4);
            env = InsertSoapHeader("urn:196adba2-14a3-49f2-b10d-fece2b5c77c4", "23F3182E-9E18-47AF-B5A8-8243E918232D", "23F3182E-9E18-47AF-B5A8-8243E918232D", new Uri("http://localhost:450/SLAdapter.ashx"));
            string str = "<ModifyStateResponse xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.microsoft.com/csf/20/wes\"><Target xmlns=\"\">HOSTED_EXCHANGE_SERVICE</Target><Identifier xmlns=\"\">sup600000774@btconnect.com</Identifier><State xmlns=\"\">EndProvision</State><Parameters xmlns=\"\" /><ResultCode xmlns=\"\">0</ResultCode></ModifyStateResponse>";
            env.Body.InnerXml = str;
            cs.WSESendOneWay("http://www.microsoft.com/csf/20/ServiceLogic/Microsoft_Csf_Sbe_OrderHandling_ServiceLogic_Orchestration_GenericOrchestration_ServiceLogic/ReceiveVasResponse", env);

        }

        private void button4_Click(object sender, EventArgs e)
        {
            EndpointReference epr = new EndpointReference(new Uri("http://localhost:450/SLAdapter.ashx"));

            client cs = new client(epr);
            SoapEnvelope env = new SoapEnvelope();
            Nonce non = new Nonce(4);
            env = InsertSoapHeader("urn:196adba2-14a3-49f2-b10d-fece2b5c77c4", "23F3182E-9E18-47AF-B5A8-8243E918232D", "23F3182E-9E18-47AF-B5A8-8243E918232D", new Uri("http://localhost:450/SLAdapter.ashx"));
            string str = "<UserServiceMappingAddResponse xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.microsoft.com/csf/20/ProfileManager\"><ResultCode>0</ResultCode><ErrorMessage xsi:nil=\"true\"/></UserServiceMappingAddResponse>";
            env.Body.InnerXml = str;
            cs.WSESendOneWay("http://www.microsoft.com/csf/20/ServiceLogic/Microsoft_Csf_Sbe_OrderHandling_ServiceLogic_Orchestration_GenericOrchestration_ServiceLogic/ReceiveVasResponse", env);

        }

        private void button5_Click(object sender, EventArgs e)
        {
            EndpointReference epr = new EndpointReference(new Uri("http://localhost:450/SLAdapter.ashx"));
            client cs = new client(epr);
            SoapEnvelope env = new SoapEnvelope();
            Nonce non = new Nonce(4);
            env = InsertSoapHeader("urn:196adba2-14a3-49f2-b10d-fece2b5c77c4", "23F3182E-9E18-47AF-B5A8-8243E918232D", "23F3182E-9E18-47AF-B5A8-8243E918232D", new Uri("http://localhost:450/SLAdapter.ashx"));
            string str = "<UserMapManagerCreateMapResponse xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns=\"http://www.microsoft.com/csf/20/IdentityManager\"><ResultCode>0</ResultCode></UserMapManagerCreateMapResponse>";
            env.Body.InnerXml = str;
            cs.WSESendOneWay("http://www.microsoft.com/csf/20/ServiceLogic/Microsoft_Csf_Sbe_OrderHandling_ServiceLogic_Orchestration_GenericOrchestration_ServiceLogic/ReceiveVasResponse", env);
        }
    }


    /// <summary>
    /// 
    /// </summary>
    public class client : SoapClient
    {

        public client(EndpointReference epr)
            : base(epr)
        {

        }

        
        
        public void WSESendOneWay(string methodName,SoapEnvelope env)
        {
            this.SendOneWay(methodName, env);
        }

    }
}